<?php

/***  DOCUMENTATION LAYER

Ceo Access Control Extension Driver

Last Update: Sep 2007
Author: Tom at klenwell@gmail.com

SUMMARY
  This driver file is responsible for calling all files, setting all variables,
  and constructing all objects associated with this package.

NOTES
  We only want one ACE object, so we construct and encapsulate here

______________________________________________________________________________*/

// load dependent files
require_once('ace.class.php');

// construct
if ( !is_object($this->Ace) ) $this->Ace = new CeoAce($this->debug);

// check
if ( !is_object($this->Ace) )
{
  $this->e('unable to cx Ace object', E_USER_WARNING);
}
else
{
  if ( $this->debug ) $this->print_d('Ace object constructed and encapsulated by CeoFramework object', 'green');
}

// bind database object
if ( !is_object($this->Dbo) ) $this->load_ext('dbo');
$this->Ace->bind_dbo($this->Dbo);

// load form extension
$this->load_ext('in');


if ( $this->debug ) $this->print_d("{$this->EXT[$ext_id]} extension has been loaded");

?>
